.headnavwrap {
  position: fixed;
  width: 100vw;
  height: 56px;
  line-height: 56px;
  background-color: var(--headnavback);
  color: var(--fontsize);
  z-index: 10;
  top: 0;
  transition: all 0.5s ease-in-out;

  .content {
    width: 75%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    & > :global(span) {
      height: 56px;
      font-size: 25px;
      font-weight: bold;
      line-height: 56px;
      cursor: pointer;
    }
    :global {
      nav {
        display: flex;
        font-size: 16px;
        width: 30%;
        justify-content: space-between;
        a {
          display: block;
          text-decoration: none;
          cursor: pointer;
          padding: 0 20px;
          &:hover {
            background-color: #eeeeee;
          }
          &.active {
            background-color: #d8d8d8;
          }
        }
      }
    }
    & > :global(.operate) {
      :global(.login) {
        background-color: #2196f3;
        height: 30px;
        line-height: 30px;
        margin-top: 13px;
        font-size: 15px;
        border-radius: 10px;
      }
      span {
        height: 56px;
        line-height: 56px;
        padding: 0 15px;
        cursor: pointer;
        &:hover {
          background-color: #eeeeee;
        }
      }
      :global(.messagecount) {
        color: white;
        font-size: 13px;
        font-weight: 900;
        background-color: red;
        width: 20px;
        text-align: center;
        height: 20px;
        line-height: 20px;
        border-radius: 50%;
        position: absolute;
        right: 52px;
        top: 5px;
      }
      position: relative;
      display: flex;
      width: 20%;
      font-size: 20px;
      justify-content: space-around;
    }
  }
}
